# 1.输入苹果的单价
price_str = input("苹果的单价：")

price = float(price_str)

# 2.输入苹果的重量
weight_str = input("苹果的重量")

weight = float(weight_str)

money = price * weight

print("需要支付%f元" % money)